package cn.kgc.shiro03.service;

import cn.kgc.shiro03.dto.RolePageDTO;
import cn.kgc.shiro03.entity.Role;
import cn.kgc.shiro03.util.ResponseResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface RoleService extends IService<Role> {

    ResponseResult selectPage(RolePageDTO rolePageDTO);

    ResponseResult deleteByIds(String ids);

    ResponseResult selectPermissionByRoleId(Integer roleId);

    ResponseResult addRolePermission(Integer roleId, String permissionIds);
}
